FROM test.tzzcloud.com/tzzcloud/jre:8

MAINTAINER cibiip@163.com

ENV TZ=Asia/Shanghai

RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

ENV LC_ALL=zh_CN.utf8

ENV LANG=zh_CN.utf8

ENV LANGUAGE=zh_CN.utf8

#RUN localedef -c -f UTF-8 -i zh_CN zh_CN.utf8

RUN mkdir -p /cibiip-xxl

WORKDIR /cibiip-xxl

EXPOSE 8080

ADD xxl-job-admin-2.4.0.jar ./

CMD sleep 2;java -Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom -jar xxl-job-admin-2.4.0.jar
